package cn.itcast.sys.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.time.LocalDateTime;
import java.util.Map;

@FeignClient("sys-service")
public interface SysClient {
    /**
     * 查询业务数据
     */
    @PostMapping("/admin/workspace/businessDataMap")
    Map<String, Map<String, Object>> businessDataMap(Map<String, LocalDateTime> requestData);
}
